﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TEL.TelPhoneF.Dialogs
{
    public enum DialogType
    {
        Add, Edit, Delete, View
    }
    public partial class DialogCustom : Form
    {
        public DialogCustom()
        {
            InitializeComponent();
        }

        private DialogType m_dialogType = DialogType.Edit;

        public DialogType Dialog
        {
            get { return m_dialogType; }
            set
            {
                m_dialogType = value;
                if (m_dialogType == DialogType.Delete)
                {
                   
                }
            }

        }
        protected virtual void btnOK_Click(object sender, EventArgs e)
        {

        }

        protected virtual void btnCancel_Click(object sender, EventArgs e)
        {

        }
    }
}
